" Enable Mouse
set mouse=a

" Set Editor Font
" Use GuiFont! to ignore font errors
"GuiFont {font_name}:h{size}
GuiFont! Consolas for Powerline FixedD:i:h16

" Disable GUI Tabline
GuiTabline 0


" Disable GUI Popupmenu
if exists(':GuiPopupmenu')
    GuiPopupmenu 0
endif

" Enable GUI ScrollBar
if exists(':GuiScrollBar')
    GuiScrollBar 1
endif

" Right Click Context Menu (Copy-Cut-Paste)
nnoremap <silent><RightMouse> :call GuiShowContextMenu()<CR>
inoremap <silent><RightMouse> <Esc>:call GuiShowContextMenu()<CR>
vnoremap <silent><RightMouse> :call GuiShowContextMenu()<CR>gv